package com.bbs.service;

import com.bbs.domain.Word;
import com.bbs.entity.PageResult;

import java.util.List;

/**
 * @ClassName WordService
 * @Description TODO
 * @Author chen hong wei
 * @Date 2019/9/21 14:43
 */
public interface WordService {


    public List<Word> findList();

    public PageResult<Word> findPage(int page, int size);

    //删除
    public void delete(int id);

    //新增
    public void insert(Word word);

    public void update(Integer wordid,int status);

}